#ifndef __USART_H

#define __USART_H
void Usart_Init(void);
void Usart_Init_TR(void);
void Usart_SendByte(uint16_t Byte);
void Usart_SendArray(uint16_t *Array, uint16_t Length);
void Usart_SendString(char *Array);
uint16_t GetReceiveFlag(void);
uint16_t GetReceive(void);
void Usart_SendHexPacket(uint8_t *Array, uint8_t Length);
void Usart_SetReceiveMode(uint8_t Mode);
uint8_t Usart_GetReceiveMode();
uint8_t* Usart_GetReceivePacket();
void Usart_SendRobotCommand( uint16_t Pos1, uint16_t Pos2, uint16_t Pos3, uint16_t Pos4, uint16_t Pos5, uint16_t Pos6);

#endif // !1